entry: Use gestures to handle pointer/touch events
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 15 May 2014 13:03:18 +0000 (15:03 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:31 +0000 (19:54 +0200)
commite580c29f07f42fb171264a97389a18a2a7cdb3cd
tree7842fc01f786853f5e756531a30b3e9e03f52d9f
parentd559cade42e882971d0a76e69c3986dfd56f1002
entry: Use gestures to handle pointer/touch events

Similarly to GtkTextView, a GtkGestureMultiPress gesture handles
button/touch presses to initiate one selection mode or other, and
a GtkGestureDrag is used to handle text selection and DnD checks.

The code from button press/release, motion, and grab_notify handlers
has been shuffled into the actions triggered by those gestures.
gtk/gtkentry.c